<template>
  <el-col>
    <el-tabs v-model="activeName2" type="card" >
      <el-tab-pane label="故障详情" name="1">
        <!-- <img src="../../assets/zl/wb/1.png" alt=""> -->
         <el-row>
          <el-col :span="24">
            <el-card class="charts-card">
              <el-row style="margin-bottom: 10px;">
                <el-col :span="24">
                  <el-input placeholder="条件搜索" icon="search" v-model="form.val" :on-icon-click="handleIconClick" style="width: 200px;">
                  </el-input>
                  <el-button type="primary">搜索</el-button>
                  <el-button type="primary">添加故障</el-button>
                  <el-button type="primary">导入</el-button>
                  <el-button type="primary">导出</el-button>
                </el-col>
              </el-row>
              <el-row>
                <el-col :span="24">
                  <el-table :data="tableData_1_1" style="width: 100%">
                    <el-table-column prop="no" label="故障号"></el-table-column>
                    <el-table-column prop="name" label="设备名称"></el-table-column>
                    <el-table-column prop="y" label="日期"></el-table-column>
                    <el-table-column prop="q" label="类别"></el-table-column>
                    <el-table-column prop="m" label="描述"></el-table-column>
                    <el-table-column prop="g" label="维护记录"></el-table-column>
                    <el-table-column prop="k" label="备件库存"></el-table-column>
                    </el-table-column>
                    <el-table-column label="知识模式">
                      <template scope="scope">
                        <el-button type="text" size="small">查看</el-button>
                      </template>
                    </el-table-column>
                  </el-table>
                </el-col>
                <el-col :span="24">
                  <el-pagination :current-page="400" :page-sizes="[100, 200, 300, 400]" :page-size="100" layout="total, sizes, prev, pager, next, jumper" :total="400" style="float:right;margin-top: 10px;">
                  </el-pagination>
                </el-col>
              </el-row>
            </el-card>
          </el-col>
        </el-row>
      </el-tab-pane>
      <el-tab-pane label="视频与门禁" name="second">
        <img src="../../assets/zl/wb/2.png" alt="">
      </el-tab-pane>
    </el-tabs>
  </el-col>
</template>

<script>
  export default {
    data() {
      return {
        form:{},
        activeName2:'1',
        tableData_1_1:[{
          no:'123',
          name:'故障A',
          y:'09-13',
          q:'老化',
          m:'恶劣天气影响',
          g:'xxx',
          k:'12',
        },{
          no:'123',
          name:'故障A',
          y:'09-13',
          q:'老化',
          m:'恶劣天气影响',
          g:'xxx',
          k:'12',
        },{
          no:'123',
          name:'故障A',
          y:'09-13',
          q:'老化',
          m:'恶劣天气影响',
          g:'xxx',
          k:'12',
        },{
          no:'123',
          name:'故障A',
          y:'09-13',
          q:'老化',
          m:'恶劣天气影响',
          g:'xxx',
          k:'12',
        },{
          no:'123',
          name:'故障A',
          y:'09-13',
          q:'老化',
          m:'恶劣天气影响',
          g:'xxx',
          k:'12',
        },{
          no:'123',
          name:'故障A',
          y:'09-13',
          q:'老化',
          m:'恶劣天气影响',
          g:'xxx',
          k:'12',
        },{
          no:'123',
          name:'故障A',
          y:'09-13',
          q:'老化',
          m:'恶劣天气影响',
          g:'xxx',
          k:'12',
        },{
          no:'123',
          name:'故障A',
          y:'09-13',
          q:'老化',
          m:'恶劣天气影响',
          g:'xxx',
          k:'12',
        },{
          no:'123',
          name:'故障A',
          y:'09-13',
          q:'老化',
          m:'恶劣天气影响',
          g:'xxx',
          k:'12',
        }]

      }
    },
    methods: {
      
    },
    mounted () {
     
    }
  }
</script>

<style scoped>

</style>